export interface ICommentModel {
  _id: string;
  articleId: string;
  content: string;
  from?: IUserByFromAndTo;
  to?: IUserByFromAndTo;
  isAuthor?: boolean;
  replyCommentId?: string;
  likeCount?: number;
  isLike?: boolean;
  
  // 评论回复列表
  replyComments?: ICommentModel[];
  showReplyBox?: boolean;
}

interface IUserByFromAndTo {
  _id: string;
  name: string;
  email: string;
  role: any;
  gender: number;
  createdAt: Date;
  updatedAt: Date;
}
